package com.lswms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 用户表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-25
 */
@Data
@ApiModel(value = "用户表")
public class YnUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;
	
	@ApiModelProperty(value = "Facebook登录用户id")
	private String facebookId;

	@ApiModelProperty(value = "用户名")
	private String username;

	@ApiModelProperty(value = "密码")
	private String password;

	@ApiModelProperty(value = "姓名")
	private String realName;

	@ApiModelProperty(value = "头像")
	private String headUrl;

	@ApiModelProperty(value = "性别   0：男   1：女    2：保密")
	private Integer gender;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "手机号")
	private String mobile;

	@ApiModelProperty(value = "账户余额")
	private BigDecimal balance;
	
	@ApiModelProperty(value = "账户余额")
	private String balanceStr;
	
	@ApiModelProperty(value = "奖励金额")
	private BigDecimal reward;

	@ApiModelProperty(value = "挑战次数")
	private Integer challenge;

	@ApiModelProperty(value = "状态  0：停用   1：正常")
	private Integer status;
	
	@ApiModelProperty(value = "来源  0：打卡   1：彩票")
	private Integer resource;

	@ApiModelProperty(value = "登录ip")
	private String ip;

	@ApiModelProperty(value = "最后登录时间")
	private String lasttime;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "更新者")
	private Long updater;

	@ApiModelProperty(value = "更新时间")
	private Date updateDate;
	
	@ApiModelProperty(value = "认证信息")
	private YnDcLoginDTO dcInfo;



}